package com.soft.dao;

import com.soft.pojo.Goods;
import com.soft.pojo.Shop;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.Map;

@Repository
public class ShopDao {
    private static Map<Integer, Shop> shop = null;
    static {
        shop = new HashMap<Integer, Shop>();

        shop.put(001, new Shop(001, "AA"));
        shop.put(002, new Shop(002, "BB"));
        shop.put(003, new Shop(003, "CC"));

    }
}
